package com.example.designpatterns.flyweight;

/**
 * 测试
 */
public class Client {

    public static void main(String[] args) {
        BoxFactory boxFactory = BoxFactory.getInstance();
        AbstractBox abstractBox = boxFactory.getShape("I");
        abstractBox.display("红色");
    }

}
